package com.jinmdz.fmis.api.admin.model.goodsservice;

import com.jinmdz.fmis.common.annotation.AnValidate;
import com.jinmdz.fmis.core.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.ArrayList;

/**
 * 保存物品、服务基本信息
 *
 * @author GuanKui
 * @date 2020/3/10 9:28
 */
@ApiModel(value = "保存物品、服务基本信息", description = "保存物品、服务基本信息")
public class GoodsServiceSaveData extends BaseBean {

    /**
     * 物品服务基本信息
     */
    @AnValidate(name = "物品服务基本信息", required = true)
    @ApiModelProperty(value = "物品服务基本信息", name = "goodsService", required = true, position = 1)
    private GoodsServiceSaveEditItem goodsService;

    /**
     * 物品包内服务项目
     */
    @ApiModelProperty(value = "物品包内服务项目", name = "goodsServicePackage", position = 2)
    private ArrayList<GoodsServiceSavePackageItem> goodsServicePackage;

    public GoodsServiceSaveEditItem getGoodsService() {
        return goodsService;
    }

    public GoodsServiceSaveData setGoodsService(GoodsServiceSaveEditItem goodsService) {
        this.goodsService = goodsService;
        return this;
    }

    public ArrayList<GoodsServiceSavePackageItem> getGoodsServicePackage() {
        return goodsServicePackage;
    }

    public GoodsServiceSaveData setGoodsServicePackage(ArrayList<GoodsServiceSavePackageItem> goodsServicePackage) {
        this.goodsServicePackage = goodsServicePackage;
        return this;
    }
}
